package com.example.k8sdemo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Description:
 * @Author: xieguangda
 * @Date: 2021年06月03日 13:44
 */
@Controller
public class TimeOutTest {


    @PostMapping("/api/timeOutTest")
    @ResponseBody
    public String  timeOutTest()throws Exception{

        System.out.println("被访问到了.....");
            Thread.sleep(20000);
                return "我是测试001";

    }
}
